package com.kylin.upms.biz.mapper;

import com.kylin.upms.biz.entity.Menu;
import com.kylin.upms.biz.entity.MenuRole;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import io.swagger.models.auth.In;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Mht
 * @since 2019-09-15
 */
public interface MenuRoleMapper extends BaseMapper<MenuRole> {

    public Integer addMenuRole(Integer rid, Integer i);

    public Integer deleteByRid(Integer rid);
    List<MenuRole> getRoleByMenu(Integer id);
}
